package com.atguigu.guli.service.oss.mapper;

import com.atguigu.guli.service.oss.entity.ImageDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author jack
 * date 2024-07-02 11:33
 */
@Mapper
public interface LocalFileMapper {
    int insertImage(@Param("imageDao") ImageDao imageDao);

    ImageDao selectImageById(Long id);

    int removeFile(String url);
}
